projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd3c589
)
arm: mx6: gw_ventana: Define CONFIG_SYS_MALLOC_F_LEN
author
Marek Vasut
<
[email protected]
>
Tue, 16 Dec 2014 13:09:17 +0000
(14:09 +0100)
committer
Stefano Babic
<
[email protected]
>
Tue, 30 Dec 2014 13:05:50 +0000
(14:05 +0100)
This board uses setup_i2c() in SPL. The setup_i2c() function internally
calls gpio_request(), which in turn internally calls strdup(). The strdup()
requires a running mallocator, so this patch makes the mallocator available.
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Igor Grinberg <
[email protected]
>
Cc: Nikita Kiryanov <
[email protected]
>
Cc: Sean Cross <
[email protected]
>
Cc: Simon Glass <
[email protected]
>
Cc: Stefano Babic <
[email protected]
>
Cc: Tim Harvey <
[email protected]
>
include/configs/gw_ventana.h
patch
|
blob
|
history
diff --git
a/include/configs/gw_ventana.h
b/include/configs/gw_ventana.h
index 620f9501d255741c921d699713fd779a3e9b4774..4f137fc96bf677f471adc0a9fe8a2fb1d2425d03 100644
(file)
--- a/
include/configs/gw_ventana.h
+++ b/
include/configs/gw_ventana.h
@@
-39,6
+39,7
@@
/* Size of malloc() pool */
#define CONFIG_SYS_MALLOC_LEN (10 * 1024 * 1024)
+#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
/* Init Functions */
#define CONFIG_BOARD_EARLY_INIT_F